<!DOCTYPE html>
<!--店铺会员主页-->
<html lang="en" xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout" layout:decorate="~{layout/memberlayout}">
<head>
    <title>会员主页</title>
    <link th:href="@{/css/style.css}" rel="stylesheet">
</head>
<body>
<script src="js/jquery-1.12.4.min.js"></script> <!-- 你必须先引入jQuery1.8或以上版本 -->
<script src="layer.js"></script>
<script>
    layer.msg('hello');
</script>

<div layout:fragment="content" class="layui-collapse" lay-accordion th:each="activity:${activitySelect}" >

    <div class="layui-colla-item">
        <h2 class="layui-colla-title">活动<span th:text="${activity.id}"></span></h2>
        <div class="layui-colla-content layui-show">
            <span>内容：</span><br/>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span th:text="${activity.content}"></span><br/><br/>
            开始时间：<span th:text="${activity.start}"></span><br/>
            结束时间：<span th:text="${activity.stop}"></span><br/>
        </div>
    </div>
</div>

</body>
</html>